.body {
    background-color: #f5f5f5;
    padding-bottom: 20px;
    min-height: 600px;
}

.w {
    display: flex;
    padding-top: 20px;
}

p {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* 左边 */
.aside {
    width: 220px;
    margin-right: 20px;
    border-radius: 2px;
}

.user {
    background-color: #fff;
}

.user h4 {
    font-size: 18px;
    font-weight: 400;
    padding: 20px 52px 5px;
    border-top: 1px solid #f6f6f6;
}

.user .links {
    padding: 0 52px 10px;
}

.user .links a {
    display: block;
    line-height: 1;
    padding: 15px 0;
    font-size: 14px;
    color: #666;
    position: relative;
}

.user .links a::before {
    content: "";
    display: none;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    position: absolute;
    top: 19px;
    left: -16px;
    background-color: #27ba9b;
}

.user .links a.active {
    color: #27ba9b;
}

.user .links a.active::before {
    display: block;
}

.user .links a:hover {
    color: #27ba9b;
}

/* 右边 */
.article {
    display: none;
    width: 1000px;
}

.show {
    display: block;
}

/* 个人中心*/
/* 用户 */
.center .information {
    height: 132px;
    background: url(http://erabbit.itheima.net/img/center-bg.31e0daef.png) no-repeat 50%/cover;
    display: flex;
}

.information .user-mate {
    flex: 1;
    display: flex;
    align-items: center;
}

.information .user-mate .picture {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    overflow: hidden;
    margin-left: 60px
}

.information .picture img {
    width: 100%;
    height: 100%;
}

.information .user-mate h4 {
    padding-left: 26px;
    font-size: 18px;
    font-weight: 400;
    color: #fff;
}

.information .item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.information .item a {
    color: #fff;
    font-size: 16px;
    text-align: center;
}

.item a .iconfont {
    font-size: 32px;
}

.item a .dizhi {
    font-weight: 700;
}

.item a p {
    line-height: 32px;
}

/* 收藏 */
.collect {
    background-color: #fff;
    padding: 0 20px;
    margin-top: 20px;
    height: 400px;
}

.collect .header {
    height: 66px;
    border-bottom: 1px solid #f5f5f5;
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.collect .header h4 {
    font-size: 22px;
    font-weight: 400;
}

.collect .header a {
    margin-bottom: 2px;
}

.collect .header span {
    font-size: 16px;
    vertical-align: middle;
    margin-right: 4px;
    color: #999;
}

.collect .header i {
    font-size: 26px;
    vertical-align: middle;
    position: relative;
    top: -1px;
    color: #ccc;
}

.collect .goods-list {
    display: flex;
    justify-content: space-around;
    padding-top: 20px;
}

.collect .goods-list a {
    display: block;
    width: 220px;
    padding: 20px 30px;
    text-align: center;
    transition: all .5s;
}

.collect .goods-list a:hover {
    box-shadow: 0 0 5px 5px rgba(212, 207, 207, 0.2);
}

.collect .goods-list img {
    width: 160px;
    height: 160px;
}

.collect .goods-list p {
    padding-top: 10px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.collect .goods-list .name {
    font-size: 16px;
}

.collect .goods-list .desc {
    color: #999;
    height: 29px;
}

.collect .goods-list .price {
    color: #cf4444;
    font-size: 20px;
}

/* 猜你喜欢 */
.like {
    background: #fff;
    min-height: 460px;
    margin-top: 20px;
}

.like .header {
    height: 80px;
    line-height: 80px;
    padding: 0 20px;
}

.like .header .icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    border-top: 4px solid #27ba9b;
    border-right: 4px solid #27ba9b;
    box-sizing: border-box;
    position: relative;
    transform: rotate(45deg);
}

.like .header .icon::before {
    content: "";
    width: 10px;
    height: 10px;
    position: absolute;
    left: 0;
    top: 2px;
    background: #bcf1e6;
}

.like .header .title {
    font-size: 20px;
    padding-left: 10px;
}

/* 轮播 */
.like .xtx-carousel {
    width: 100%;
    height: 380px;
    min-width: 300px;
    min-height: 150px;
    position: relative;
}

.like .xtx-carousel ul {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.like .xtx-carousel li.fade {
    opacity: 1;
    z-index: 1;
}

.like .xtx-carousel .carousel-item {
    float: left;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0px;
    top: 0;
    opacity: 0;
    transition: opacity .5s linear;
}

.like .carousel-item .slider {
    display: flex;
    justify-content: space-around;
    padding: 0 40px;
}

.carousel-item .slider a {
    width: 240px;
    text-align: center;
}

.slider a img {
    padding: 20px;
    width: 230px;
    height: 230px;
}

.slider a p {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.carousel-item .slider .name {
    font-size: 16px;
    color: #666;
    padding: 0 40px;
}

.carousel-item .slider .price {
    font-size: 16px;
    color: #cf4444;
    margin-top: 15px;
}

/* 点击 */
.xtx-carousel .prev,
.xtx-carousel .next {
    position: absolute;
    top: 110px;
    width: 44px;
    height: 44px;
    z-index: 2;
    text-align: center;
    line-height: 44px;
    color: #ddd;
}

.xtx-carousel .next {
    right: 5px;
}

.xtx-carousel .prev .iconfont,
.xtx-carousel .next .iconfont {
    font-size: 50px;
}

/* 小圆点 */
.dian {
    position: absolute;
    left: 0;
    bottom: 30px;
    z-index: 2;
    width: 100%;
    text-align: center;
}

.dian span {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: rgba(0, 0, 0, .2);
    border-radius: 50%;
    cursor: pointer;
    margin-left: 12px;
}

.dian span.green {
    background: #27ba9b;
}

/* 订单 */
.order {
    height: 100%;
    background-color: #fff;
}

/* 顶部tab栏 */
.order nav {
    height: 60px;
    line-height: 60px;
    display: flex;
    border-bottom: 1px solid #f5f5f5;
}

.order nav a {
    width: 110px;
    border-right: 1px solid #f5f5f5;
    text-align: center;
    font-size: 16px;
}

.order nav a.tab {
    border-top: 2px solid #27ba9b;
    height: 60px;
    background: #fff;
    line-height: 56px;
}

/* 订单列表 */
.order-list {
    background: #fff;
    padding: 20px;
    position: relative;
    min-height: 400px;
    display: none;
}

.order-list.fade {
    display: block;
    transition: all .4s;
}

.order-item {
    margin-bottom: 20px;
    border: 1px solid #f5f5f5;
}

.no {
    width: 100%;
    height: 200px;
    text-align: center;
    font-size: 50px;
    line-height: 200px;
    background-color: #27ba9b;
}

/* 倒计时 */
.order-item .head {
    height: 50px;
    line-height: 50px;
    background: #f5f5f5;
    padding: 0 20px;
    overflow: hidden;
}

.order-item .head span {
    margin-right: 20px;
}

.order-item .head .down-time {
    margin-right: 0;
    float: right;
}

.order-item .head b {
    font-weight: 400;
}

/* body */
.order-body {
    display: flex;
    align-items: stretch;
}

.order-body .column {
    text-align: center;
    border-left: 1px solid #f5f5f5;
    text-align: center;
    padding: 20px;
}

/* goods */
.order-body .goods {
    flex: 1;
    padding: 0;
    align-self: center;
    border-left: none;
}

.order-body .goods li {
    border-bottom: 1px solid #f5f5f5;
    padding: 10px;
    display: flex;
}

.order-body .goods li:last-child {
    border-bottom: none;
}

.image {
    width: 70px;
    height: 70px;
    border: 1px solid #f5f5f5;
}

.info {
    width: 220px;
    text-align: left;
    padding: 0 10px;
}

.info p {
    margin-bottom: 5px;
}

.info .name {
    height: 38px;
}

.goods .price {
    width: 100px;
}

.goods .count {
    width: 80px;
}

.column>p {
    padding-top: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 状态 */
.order-body .state {
    width: 120px;
}

/* 数量 */
.order-body .amount {
    width: 200px;
}

.amount .red {
    color: #cf4444;
}

/* 付款 */
.action {
    width: 140px;
}

.xtx-button {
    width: 100px;
    height: 32px;
    font-size: 14px;
    border-color: #27ba9b;
    background: #27ba9b;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
}

.action p:hover {
    cursor: pointer;
    color: #27ba9b;
}

/* 分页 */
.order-pagination {
    display: flex;
    justify-content: center;
    padding: 30px;
}

.order-pagination>a {
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid #e4e4e4;
    border-radius: 4px;
    margin-right: 10px;
}

.order-pagination>span {
    margin-right: 10px;
}

.ye {
    color: #fff;
    background-color: #27ba9b;
}

/* 删除订单弹框 */
.dialog {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    display: none;
    z-index: 999;
}

.dialog.fade {
    display: block;
    transition: all .4s;
}

.xtx-dialog {
    width: 620px;
    background: #fff;
    border-radius: 4px;
    position: absolute;
    top: 60%;
    left: 50%;
    opacity: 0;
    z-index: 999;
}

.xtx-dialog.fade {
    transition: all .4s;
    transform: translate(-50%, -60%);
    opacity: 1;
}

.dialog-head {
    position: relative;
    height: 70px;
    line-height: 70px;
    padding: 0 20px;
    border-bottom: 1px solid #f5f5f5;
}

.dialog-head h3 {
    font-weight: 400;
    font-size: 18px;
}

.dialog-head a {
    position: absolute;
    right: 25px;
    top: 25px;
    font-size: 24px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    color: #999;
}

.dialog-body {
    padding: 20px 40px;
    font-size: 16px;
}

.dialog-body p {
    font-size: 16px;
    line-height: 35px;
}

.tip {
    color: #999;
}

.btn {
    padding-top: 21px;
    display: flex;
    flex-wrap: wrap;
}

.btn a {
    width: 256px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    background-color: #fff;
    border: 1px solid #e4e4e4;
    margin-right: 20px;
    margin-bottom: 20px;
    color: #666;
}

.btn a:nth-child(2n) {
    margin-right: 0;
}

.btn a.active {
    background-color: #e3f9f4;
    border-color: #27ba9b;
}

.dialog-footer {
    text-align: center;
    padding: 10px 0 30px 0;
}

.dialog-footer button {
    width: 180px;
    height: 50px;
    font-size: 16px;
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
}

.grey {
    margin-right: 20px;
    border-color: #ccc;
    background: #ccc;
    color: #fff;
}

.greens {
    border-color: #27ba9b;
    background: #27ba9b;
    color: #fff;
}

/* 点击删除 */
.dialogT {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    display: none;
}

.dialogT.fade {
    display: block;
    transition: all .4s;
}

.delete {
    width: 400px;
    background: #fff;
    border-radius: 4px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    opacity: 0;
}

.delete.fade {
    transition: all .4s;
    transform: translate(-50%, -50%);
    opacity: 1;
}

.delHead {
    position: relative;
    height: 50px;
    line-height: 50px;
    padding: 0 20px;
}

.delHead h3 {
    font-weight: 400;
    font-size: 18px;
}

.del {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 20px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    color: #999;
}

.delBody {
    padding: 20px 40px;
    font-size: 16px;
}

.delBody .radius {
    position: relative;
    top: -2px;
    display: inline-block;
    width: 14px;
    height: 14px;
    line-height: 14px;
    font-size: 8px;
    text-align: center;
    color: #fff;
    background-color: #df1c37;
    border-radius: 8px;
}

.delFoot {
    text-align: right;
    height: 50px;
    line-height: 50px;
    padding: 0 20px;
}

.delFoot button {
    margin-left: 20px;
    width: 60px;
    height: 32px;
    font-size: 14px;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
}

.delFoot .greyT {
    background: #ccc;
}

.delFoot .greenT {
    background: #27ba9b;
}

.d {
    cursor: pointer;
}